import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);

const routes = [
  {
    path: "/",
    name: "home",
    component: () => import("../views/HomeView.vue"),
  },
  {
    path: "/economy",
    name: "economy",
    component: () => import("../views/EconomyView.vue"),
  },
  {
    path: "/property",
    name: "property",
    component: () => import("../views/PropertyView.vue"),
  },
  {
    path: "/about",
    name: "about",
    component: () => import("../views/AboutView.vue"),
  },
  {
    path: "/propertyDetails",
    name: "propertyDetails",
    component: () => import("../views/propertyDetails.vue"),
  },
  {
    path: "/HomeLest",
    name: "HomeLest",
    component: () => import("../views/HomeLest.vue"),
  },
];

const router = new VueRouter({
  routes,
});

export default router;
